package cn.fred.cloud.app.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.fred.cloud.app.dao.UserDao;
import cn.fred.cloud.app.domain.User;
@Service
@Transactional
public class UserService {
	@Autowired
	private UserDao dao;
	public List<User> findAll(){
		return dao.findAll();
	}
}
